#ifndef _RECTANGLE_H_
#define _RECTANGLE_H_

class Rectangle
{
public:
	Rectangle(const float length, const float width);
        Rectangle();
	double getArea() const;
	double getPerimeter() const;
        bool setLength(const float length);
        bool setWidth(const float width);

private:
	float length_m;
	float width_m;

        bool isValid(const float value) const;
        float parameter_adjust(const float parameter) const;
        float result_adjust(const float result) const;
};

#endif //_RECTANGLE_H_

